#define  _CRT_SECURE_NO_WARNINGS 1		
#include<stdio.h>
#include<assert.h>
char* my_strcpy(char* arr1, const char* arr2)
{
	assert(arr1 && arr2);
	char* ret = arr1;
	while (*arr1++ = *arr2++)
	{

	}
	return ret;
}
int main()
{
	char arr2[] = { "abcdef" };
	char arr1[20] = { 0 };
	char *ret=my_strcpy(arr1,arr2);
	printf("%s", ret);
	return 0;
}